package com.ruoyi.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 智慧教育--学校信息对象 edu_school
 *
 * @author ruoyi
 * @date 2020-06-28
 */
public class School extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键id */
    private Long sid;

    /** 学校名称 */
    @Excel(name = "学校名称")
    private String schoolName;

    /** 经度 */
    @Excel(name = "经度")
    private String schoolLat;

    /** 纬度 */
    @Excel(name = "纬度")
    private String schoolLng;

    /** 搜索内容 */
    @Excel(name = "搜索内容")
    private String content;

    /** 学校地址 */
    @Excel(name = "学校地址")
    private String schoolAddress;

    /** 咨询电话 */
    @Excel(name = "咨询电话")
    private String advisoryPhone;

    /** 所属区划编码 */
    @Excel(name = "所属区划编码")
    private String schoolArea;

    /** 学校类别（1:幼儿园;2:小学;3:中学;4:高中;5:大学;） */
    @Excel(name = "学校类别", readConverterExp = "1=:幼儿园;2:小学;3:中学;4:高中;5:大学;")
    private String schoolType;

    /** 学校场景图 */
    @Excel(name = "学校场景图")
    private String schoolPic;


    /** 学校介绍*/
    private String introduce;

    /** 施教范围文本内容*/
    private String teachArea;

    /** 施教范围标注点坐标json*/
    private String  teachAreaPoint;

    /** 施教范围多边形坐标json*/
    private String teachAreaOuterLine;

    /** 1 不删除 2删除 */
    @Excel(name = "1 不删除 2删除")
    private String deleteflag;

    public void setSid(Long sid)
    {
        this.sid = sid;
    }

    public Long getSid()
    {
        return sid;
    }
    public void setSchoolName(String schoolName)
    {
        this.schoolName = schoolName;
    }

    public String getSchoolName()
    {
        return schoolName;
    }
    public void setSchoolLat(String schoolLat)
    {
        this.schoolLat = schoolLat;
    }

    public String getSchoolLat()
    {
        return schoolLat;
    }
    public void setSchoolLng(String schoolLng)
    {
        this.schoolLng = schoolLng;
    }

    public String getSchoolLng()
    {
        return schoolLng;
    }
    public void setSchoolAddress(String schoolAddress)
    {
        this.schoolAddress = schoolAddress;
    }

    public String getSchoolAddress()
    {
        return schoolAddress;
    }
    public void setAdvisoryPhone(String advisoryPhone)
    {
        this.advisoryPhone = advisoryPhone;
    }

    public String getAdvisoryPhone()
    {
        return advisoryPhone;
    }
    public void setSchoolArea(String schoolArea)
    {
        this.schoolArea = schoolArea;
    }

    public String getSchoolArea()
    {
        return schoolArea;
    }
    public void setSchoolType(String schoolType)
    {
        this.schoolType = schoolType;
    }

    public String getSchoolType()
    {
        return schoolType;
    }
    public void setSchoolPic(String schoolPic)
    {
        this.schoolPic = schoolPic;
    }

    public String getSchoolPic()
    {
        return schoolPic;
    }
    public void setDeleteflag(String deleteflag)
    {
        this.deleteflag = deleteflag;
    }

    public String getDeleteflag()
    {
        return deleteflag;
    }


    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getIntroduce() {
        return introduce;
    }

    public void setIntroduce(String introduce) {
        this.introduce = introduce;
    }

    public String getTeachArea() {
        return teachArea;
    }

    public void setTeachArea(String teachArea) {
        this.teachArea = teachArea;
    }

    public String getTeachAreaPoint() {
        return teachAreaPoint;
    }

    public void setTeachAreaPoint(String teachAreaPoint) {
        this.teachAreaPoint = teachAreaPoint;
    }

    public String getTeachAreaOuterLine() {
        return teachAreaOuterLine;
    }

    public void setTeachAreaOuterLine(String teachAreaOuterLine) {
        this.teachAreaOuterLine = teachAreaOuterLine;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("sid", getSid())
            .append("schoolName", getSchoolName())
            .append("schoolLat", getSchoolLat())
            .append("schoolLng", getSchoolLng())
            .append("schoolAddress", getSchoolAddress())
            .append("advisoryPhone", getAdvisoryPhone())
            .append("schoolArea", getSchoolArea())
            .append("schoolType", getSchoolType())
            .append("schoolPic", getSchoolPic())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("deleteflag", getDeleteflag())
            .append("content", getContent())
            .append("introduce", getIntroduce())
            .append("teachArea", getTeachArea())
            .append("teachAreaPoint", getTeachAreaPoint())
            .append("teachAreaOuterLine", getTeachAreaOuterLine())
            .toString();
    }
}
